﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Solution.CMS.Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <link href="cms.css" rel="stylesheet" />
        <title>Log In to CMS</title>
    </head>
    <body>
        <form id="form1" runat="server">
            <section id="loginForm">
                <h2>Use a local account to log in.</h2>
                <asp:Login ID="Login1" runat="server" ViewStateMode="Disabled" RenderOuterTable="false">
                    <LayoutTemplate>
                        <p class="validation-summary-errors">
                            <asp:Literal runat="server" ID="FailureText" />
                        </p>
                        <fieldset>
                            <legend>Log in Form</legend>
                            <ol>
                                <li>
                                    <asp:Label ID="Label3" runat="server" AssociatedControlID="UserName">User name</asp:Label>
                                    <asp:TextBox runat="server" ID="UserName" />
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="UserName" CssClass="field-validation-error" ErrorMessage="The user name field is required." />
                                </li>
                                <li>
                                    <asp:Label ID="Label4" runat="server" AssociatedControlID="Password">Password</asp:Label>
                                    <asp:TextBox runat="server" ID="Password" TextMode="Password" />
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Password" CssClass="field-validation-error" ErrorMessage="The password field is required." />
                                </li>
                                <li>
                                    <asp:CheckBox runat="server" ID="RememberMe" />
                                    <asp:Label ID="Label5" runat="server" AssociatedControlID="RememberMe" CssClass="checkbox">Remember me?</asp:Label>
                                </li>
                            </ol>
                            <asp:Button runat="server" CommandName="Login" Text="Log in" ID="btnLogIn" OnClick="btnLogIn_Click" />
                        </fieldset>
                    </LayoutTemplate>
                </asp:Login>
            </section>
        </form>
    </body>
</html>